package edu.johnpank.libassistant.enums

import org.springframework.security.core.GrantedAuthority

enum class Role: GrantedAuthority {
    ROLE_ADMIN, ROLE_LIBRARIAN, ROLE_READER;

    override fun getAuthority(): String {
        return name
    }
}